﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 功能测试软件.Model
{
    public class ConfigModel
    {
        /// <summary>
        /// 图像数据发送等待
        /// </summary>
        public string BarDelay { get; set; }
        /// <summary>
        /// 电源Addr
        /// </summary>
        public string PowerAddr { get; set; }
        /// <summary>
        /// 数字万用表Addr
        /// </summary>
        public string MultimeterUsbAddr { get; set; }
        /// <summary>
        /// 继电器串口
        /// </summary>
        public string RelayPortname { get; set; }
        /// <summary>
        /// 继电器串口波特率
        /// </summary>
        public int RelayPortBaudrate { get { return 115200; } }
        /// <summary>
        /// 采集电流阈值
        /// </summary>
        public string Current { get; set; }
        /// <summary>
        /// 蓝牙串口
        /// </summary>
        public string BtPortname { get; set; }
        /// <summary>
        /// 蓝牙串口波特率
        /// </summary>
        public int BtPortBaudrate { get { return 115200; } }
        /// <summary>
        /// 蓝牙搜索时长
        /// </summary>
        public string ScanDelay { get; set; }
        /// <summary>
        /// 蓝牙强度阈值
        /// </summary>
        public string dBm { get; set; }


        /// <summary>
        /// 通道1开启
        /// </summary>
        public string Channel1Enable { get; set; }
        /// <summary>
        /// 通道1串口
        /// </summary>
        public string Channel1Portname { get; set; }
        /// <summary>
        /// 通道1刷图使能 
        /// </summary>
        public string Channel1PicEnable { get; set; }
        /// <summary>
        /// 通道1图片类型 QR/BlackRed
        /// </summary>
        public string Channel1PicTemp { get; set; }
        /// <summary>
        /// 通道1点灯使能
        /// </summary>
        public string Channel1RgbEnable { get; set; }
        /// <summary>
        /// 通道1点灯时长
        /// </summary>
        //public string Channel1RgbDelay { get; set; }

        /// <summary>
        /// 通道2开启
        /// </summary>
        public string Channel2Enable { get; set; }
        /// <summary>
        /// 通道2串口
        /// </summary>
        public string Channel2Portname { get; set; }
        /// <summary>
        /// 通道2刷图使能
        /// </summary>
        public string Channel2PicEnable { get; set; }
        /// <summary>
        /// 通道2图片类型 QR/BlackRed
        /// </summary>
        public string Channel2PicTemp { get; set; }
        /// <summary>
        /// 通道2点灯使能
        /// </summary>
        public string Channel2RgbEnable { get; set; }
        /// <summary>
        /// 通道2点灯时长
        /// </summary>
        //public string Channel2RgbDelay { get; set; }

        /// <summary>
        /// 通道3开启
        /// </summary>
        public string Channel3Enable { get; set; }
        /// <summary>
        /// 通道3串口
        /// </summary>
        public string Channel3Portname { get; set; }
        /// <summary>
        /// 通道3刷图使能
        /// </summary>
        public string Channel3PicEnable { get; set; }
        /// <summary>
        /// 通道3图片类型 QR/BlackRed
        /// </summary>
        public string Channel3PicTemp { get; set; }
        /// <summary>
        /// 通道3点灯使能
        /// </summary>
        public string Channel3RgbEnable { get; set; }
        /// <summary>
        /// 通道3点灯时长
        /// </summary>
        //public string Channel3RgbDelay { get; set; }

        /// <summary>
        /// 通道4开启
        /// </summary>
        public string Channel4Enable { get; set; }
        /// <summary>
        /// 通道4串口
        /// </summary>
        public string Channel4Portname { get; set; }
        /// <summary>
        /// 通道4刷图使能
        /// </summary>
        public string Channel4PicEnable { get; set; }
        /// <summary>
        /// 通道4图片类型 QR/BlackRed
        /// </summary>
        public string Channel4PicTemp { get; set; }
        /// <summary>
        /// 通道4点灯使能
        /// </summary>
        public string Channel4RgbEnable { get; set; }
        /// <summary>
        /// 通道4点灯时长
        /// </summary>
       // public string Channel4RgbDelay { get; set; }

        /// <summary>
        /// 通道5开启
        /// </summary>
        public string Channel5Enable { get; set; }
        /// <summary>
        /// 通道5串口
        /// </summary>
        public string Channel5Portname { get; set; }
        /// <summary>
        /// 通道5刷图使能
        /// </summary>
        public string Channel5PicEnable { get; set; }
        /// <summary>
        /// 通道5图片类型 QR/BlackRed
        /// </summary>
        public string Channel5PicTemp { get; set; }
        /// <summary>
        /// 通道5点灯使能
        /// </summary>
        public string Channel5RgbEnable { get; set; }
        /// <summary>
        /// 通道5点灯时长
        /// </summary>
       // public string Channel5RgbDelay { get; set; }
    }
}
